const path = require('path');

const src = path.resolve(__dirname, 'src');


module.exports = {
    // webpacl配置
    webpack: {
        // 配置别名
        alias: {
            // 路径别名配置
            '@': src,
            'store': path.resolve(src, 'store'),
            'assets': path.resolve(src, 'assets'),
            'api': path.resolve(src, 'api'),
            'components': path.resolve(src, 'components')
        }
    }
}